body {
  font-family: "Arial", sans-serif;
  background-color: #f4f4f9;
  color: #333;
}

.chat-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-container {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: white;
  border-top: 1px solid #e8e8e8;
  position: sticky;
  bottom: 0;
}

.input-container .ant-input {
  border-radius: 20px;
  padding: 8px 16px;
}

.input-container .ant-btn {
  border-radius: 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-container .upload-button {
  border: none;
  padding: 0 8px;
  color: #1890ff;
}

.message {
  padding: 12px 16px;
  border-radius: 16px;
  max-width: 70%;
  word-wrap: break-word;
}

.message.user {
  align-self: flex-end;
  background-color: #1890ff;
  color: white;
}

.message.expert {
  align-self: flex-start;
  background-color: #f0f2f5;
  color: #000;
}

.message p {
  margin: 0;
}

.message img {
  max-width: 100%;
  border-radius: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .message {
    max-width: 80%;
  }
}
